button {
  outline: 0;
  border: 0;
  cursor: pointer;
}

.publish-header {
  position: relative;
  width: 100%;
  height: 50px;
  background-color: #f5f5f5;
  //margin-top: 50px;
  div {
    display: flex;
    width: 70%;
    height: 50px;
    margin: 0 auto;
    justify-content: flex-end;
    .date {
      width: 220px;
      height: 50px;
      line-height: 50px;
    }
    .save-btn {
      width: 80px;
      &:hover,
      &:focus {
        background-color: transparent;
      }
    }
  }
  .p-btn {
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 50px;
    color: #fff;
    outline: 0;
    border: 0;
    background-color: green;
  }
}

.publish-main {
  width: 70%;
  height: auto;
  margin: 0 auto;
  .cover-img-container {
    width: 100%;
    height: 300px;
    margin-top: 20px;
    overflow: hidden;
    background-color: #f5f5f5;
    .input-file {
      position: relative;
      width: 100%;
      height: 100%;
      input {
        position: absolute;
        z-index: -1;
      }
      label {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
      }
    }
    .cover-img {
      position: relative;
      width: 100%;
      height: 100%;
      overflow: hidden;
      img {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        margin: auto;
        width: auto;
        max-width: 100%;
        height: auto;
      }
      .remove-img {
        display: block;
        position: absolute;
        top: 0;
        right: 0;
        width: 40px;
        height: 40px;
        cursor: pointer;
        background-color: rgba(0, 0, 0, 0.5);
        text-align: center;
        md-icon {
          color: #fff;
          line-height: 40px;
        }
      }
    }
  }
  .publish-title {
    width: 100%;
    height: 60px;
    line-height: 60px;
    margin-top: 20px;
    input {
      width: 100%;
      height: 58px;
      line-height: 58px;
      font-size: 30px;
      text-indent: 30px;
      border: 0;
      border-bottom: 2px solid #f5f5f5;
      outline: 0;
    }
  }
  .editor-container {
    width: 100%;
    height: 700px;
    margin: 20px auto 0;
    e-ngx-editor {
      height: 500px;
    }
  }
}

#edui1,#edui1_iframeholder{
  width: 100% !important;
}

